
		<div id="main-content"> <!-- Main Content Section with everything -->			
			<!-- Page Head -->						
			<div class="clear"></div> <!-- End .clear -->
			
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>绘本管理</h3>					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->						
						<table>
							
							<thead>
								<tr>								   
								   <th>No.</th>
								   <th>Name</th>
								   <th>Category</th>
								   <th>Subcategory</th>
								   <th>Operation</th>
								</tr>
								
							</thead>
						 
							<tfoot>
								<tr>
									<td colspan="5">										
										<div class="pagination">
											<?php echo $page;?><!-- 分页 -->										
										</div> <!-- End .pagination -->
										<div class="clear"></div>
									</td>
								</tr>
							</tfoot>
						 
							<tbody>
							<?php $i=0; foreach($query as $row):?>
								<tr>									
									<td><?php $i++;echo $i;?></td>
									<td><?php echo substr($row['name'],0,25);?></td>
									<td><?php echo $row['category']?$row['category']:'未分配大类';?></td>
									<td><?php echo $row['subcategory']?$row['subcategory']:'未分配子类';?></td>
									<td>
										<!-- Icons -->
										 <a href="<?php echo base_url()?>aio_books/modify_book/<?php echo $row['id'];?>" title="Edit"><img src="<?php echo base_url()?>images/icons/pencil.png" alt="Edit" /></a>
									</td>
								</tr>
							<?php endforeach;?>	
							</tbody>
							
						</table>
						
					</div> <!-- End #tab1 -->
					
	
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			<div class="clear"></div>			
		</div> <!-- End #main-content -->	
	</div>
</body>
  

<!-- Download From www.exet.tk-->
</html>